<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>新增、编辑客户</title>
</head>
<body>
<form th:action="@{/account/save}" method="post">

    <div th:if="${isAdd} == false">
        <label>accId</label>
        <input type="text" name="accId" readonly="readonly" th:field="${account.accId}" />
    </div>
    <div>
        <label>name</label>
        <input type="text" name="name" th:field="${customer.name}" />
    </div>
    <div>
        <label>age</label>
        <input type="text" name="age" th:field="${customer.age}" />
    </div>
    <div>
        <label>isUse</label>
        <input type="text" name="isUse" th:field="${customer.isUse}" />
    </div>
    <div>
        <input type="submit" value="提交" />
    </div>
</form>
</body>
</html>
